<?php
//后台首页控制器
namespace App\Http\Controllers\home;

use Illuminate\Http\Request;

use App\Http\Requests;

class DistrictController extends CommonController
{ 
    //根据参数upid获取对应的城市类别信息
	public function find($upid=0)
	{
		$list = \DB::table("district")->where("upid",$upid)->get();
		return response()->json($list);
	}
}
